package com.db.springcloud;

import com.db.loadbalanceconfig.CustomLoadBalanceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
@LoadBalancerClients(
        @LoadBalancerClient(name = "SPRINGCLOUD-PROVIDER-USER", configuration = CustomLoadBalanceConfig.class)
)
public class GatewayApplication_9557 {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication_9557.class,args);
    }
}
